home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Frameworks / ShowcaseApp 1.2a / ExampleDemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-21  |  436 b   |  29 lines  |  [TEXT/KAHL]

  1. #pragma once
  2.  
  3.  
  4. #include "CSApplication.h"
  5.  
  6.  
  7. struct CExamplePane : CPane
  8. {
  9.     void IExamplePane
  10.         ( CView *anEnclosure
  11.         , CBureaucrat *aSupervisor
  12.         , short aWidth
  13.         , short aHeight
  14.         , short aHEncl
  15.         , short aVEncl
  16.         , SizingOption aHSizing
  17.         , SizingOption aVSizing );
  18.     
  19.     virtual void Draw( Rect *area );
  20. };
  21.  
  22.  
  23. struct CExampleDemoDir : CShowcaseDemoDir
  24. {
  25.     CExamplePane *itsPane;
  26.  
  27.     virtual void INewDemo( CDirectorOwner *aSupervisor);
  28. };
  29.